package com.zpy.hencoderpractise.hencoder1

import android.content.Intent
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import com.zpy.hencoderpractise.R
import kotlinx.android.synthetic.main.activity_hen_coder01.*

class HenCoder01 : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_hen_coder01)
        canvas.setOnClickListener {
            val intent = Intent(this@HenCoder01,DrawActivity::class.java)
            startActivity(intent)
        }
    }
}
